package com.smartao.base.tree;

import java.io.Serializable;

import com.smartao.core.orm.entity.BaseEntity;

/**
 * 树节点对象
 * @author Ricky
 */
public class TreeNode implements Serializable {

	private static final long serialVersionUID = -812916989677680375L;
	
	private String id;
	private String parentId;
	private String name;
	private boolean open;
	private boolean checked;
	private boolean chkDisabled;
	private String icon;
	private String iconClose;
	private String iconOpen;
	private String iconSkin;
	private String target;
	private String url;
	
	private transient BaseEntity<?> nodeObj;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public boolean isChkDisabled() {
		return chkDisabled;
	}

	public void setChkDisabled(boolean chkDisabled) {
		this.chkDisabled = chkDisabled;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIconClose() {
		return iconClose;
	}

	public void setIconClose(String iconClose) {
		this.iconClose = iconClose;
	}

	public String getIconOpen() {
		return iconOpen;
	}

	public void setIconOpen(String iconOpen) {
		this.iconOpen = iconOpen;
	}

	public String getIconSkin() {
		return iconSkin;
	}

	public void setIconSkin(String iconSkin) {
		this.iconSkin = iconSkin;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public BaseEntity<?> getNodeObj() {
		return nodeObj;
	}

	public void setNodeObj(BaseEntity<?> nodeObj) {
		this.nodeObj = nodeObj;
	}
	
	
	
}
